/**
 * STFrame.java
 * @author: liuex
 * 2008-1-6 ����05:20:50
 *
 * note: 
 */
package lex.fractal;

import javax.swing.SwingUtilities;

import lex.fractal.algorithm.Fractal;
import lex.fractal.swing.common.FractalFrame;

public class FractalViewer {
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				FractalFrame app = new FractalFrame(createFractal());
				app.setLocationRelativeTo(null);
				app.setVisible(true);
			}
		});
	}

	private static Fractal createFractal() {
		return new MountainRidgelineFractal();
	}
}
